package com.model.dto.sys.roleController;

import com.model.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
public class GetRoleListDTO extends BaseEntity{
    @ApiModelProperty(value = "角色id",required = true)
    Long sysRoleId;

    @ApiModelProperty(value = "角色名长度限制为50")
    @Size(min = 0, max = 50, message = "角色名长度限制为50")
    String name;

    @ApiModelProperty(value = "显示菜单",required = true)
    Boolean containMenu;
}
